<?php

/* @var $this \yii\web\View */
/* @var $content string */

use home\assets\AppAsset;
use ijony\helpers\Url;
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>

<div class="head">
    <div class="logo"><a href="">Biffar</a></div>

    <div class="menu">
        <div class="container">
            <div class="menu-main">
                <a class="text-menu<?= $this->context->checkActive(1); ?>" href="<?= Url::to(['site/index']) ?>">关于Biffar</a>
                <a class="text-menu<?= $this->context->checkActive(7); ?>" href="<?= Url::to(['site/company']) ?>">Biffar Company</a>
                <a class="text-menu<?= $this->context->checkActive(2); ?>" href="<?= Url::to(['site/porsche']) ?>">保时捷跨界之作</a>
                <a class="text-menu<?= $this->context->checkActive(3); ?>" href="<?= Url::to(['product/index']) ?>">Biffar产品</a>
                <a class="text-menu<?= $this->context->checkActive(4); ?>" href="<?= Url::to(['case/index']) ?>">Biffar工程案例</a>
                <!--                <a class="text-menu--><? //= $this->context->checkActive(5); ?><!--" href="--><? //= Url::to(['timeline/index']) ?><!--">Biffar事记</a>-->
                <a class="text-menu<?= $this->context->checkActive(5); ?>" href="https://www.biffar.de/en/category/blog-en/">Biffar事记</a>
                <a class="text-menu<?= $this->context->checkActive(6); ?>" href="<?= Url::to(['site/contact']) ?>">联系我们</a>
            </div>
        </div>
    </div>
</div>

<div class="tbody">
    <?php if (!isset($this->params['backUrl']) || !$this->params['backUrl']) {
        $this->params['backUrl'] = 'javascript:history.back()';
    } ?>
    <?php if(isset($this->params['breadcrumbs'])){ ?>
        <div class="location">
            <div class="container">
                <?= Breadcrumbs::widget([
                    'homeLink' => false,
                    'itemTemplate' => '{link}',
                    'activeItemTemplate' => '<span>{link}</span>',
                    'options' => [
                        'class' => 'location-link',
                    ],
                    'links' => $this->params['breadcrumbs'],
                ]) ?>

                <a class="location-back" href="<?= $this->params['backUrl'] ?>"><span class="iconfont icon-leftbig"></span> 返回</a>
            </div>
        </div>
    <?php } ?>

    <?= $content ?>
</div>

<div class="foot">
    <div class="foot-top">
        <div class="left-area"></div>

        <div class="right-area"></div>
    </div>

    <div class="foot-body">
        <div class="column-row">
            <div class="column-item column-item-nopadding"><h3>Biffar Germnay</h3></div>
            <div class="column-item2 column-item-nopadding"><h3>Biffar showrooms in China</h3></div>
        </div>
        <div class="column-row">
            <div class="column-item">
                Biffar GmbH & Co., KG<br/>
                In den Seewiesen 67480 Edenkoben Germany<br/>
                T +49 6323-801-315<br/>
                www.biffar.de<br/>
                info@biffar.de<br/><br/><br/><br/><br/><br/>
                <h4>Biffar China</h4>
                北京 草场地艺术区 241-9<br/>
                T +86 135-0129 3010<br/>
                www.biffar.com.cn<br/>
                info@biffar.com.cn
            </div>
            <div class="column-item">
                Shanghai 上海<br/>
                金都路 1199 号 106A<br/>
                T +86 (21) 3159 3615<br/>
                <br/><br/>
                Beijing 北京<br/>
                草场地艺术区 241-9<br/>
                T +86 135-0129 3010
            </div>
            <div class="column-item">
                Shenzhen 深圳<br/>
                笋岗街道宝能第一空间 6 楼 6C20<br/>
                T +86 138-2322 4922<br/>
                <br/><br/>
                Dalian 大连<br/>
                沙河口区工华街 7-1 号<br/>
                T +86 186-0411 1112
            </div>
        </div>
    </div>

    <div class="foot-bottom">
        <div class="right-area">
            <a href="https://beian.miit.gov.cn"><span>沪ICP备19000801号-1</span></a>
        </div>
    </div>
</div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
